package handler

import (
	"github.com/gin-gonic/gin"
	"trpg-common/request"
	"trpg-common/response"
)

type SystemMessageHandler struct{}

func (SystemMessageHandler) GetSystemMessages(c *gin.Context) {
	user := request.GetUserFromGinContext(c)
	response.SuccessWithData(c, systemMessageService.GetMessages(user.Uid))
}
